# coding=utf-8
'''
Created on 2010-8-8

@author: morningbzy
'''

from sgs.figure.figure_base import FigureBase
from sgs.skill.hujia import HuJia
from sgs.skill.jianxiong import JianXiong

class CaoCao(FigureBase):
    def __init__(self):
        super(CaoCao, self).__init__()
        self.name = '曹操'
        self.hp = 4
        self.camp = 'wei'
        self.skillList = [HuJia(), JianXiong()]

    def beDamage(self, cond, src, srcCard, changeHp):
        self.owner.addCards(srcCard.originalCard)
